package com.atguigu.service;

import com.atguigu.pojo.Setmeal;
import com.atguigu.vo.PageResult;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    PageResult fainPage(String queryString, Integer currentPage, Integer pageSize);

    void add(Integer[] travelgroupIds, Setmeal setmeal);


    Setmeal get(Integer id);

    Integer[] getSetmealIdByTravelgroupId(Integer id);

    void update(Integer[] travelgroupIds, Setmeal setmeal);

    void deleteSetmeal(Integer id) throws RuntimeException;

    List<Setmeal> findAll();

    Setmeal findById(Integer id);

    Setmeal getSetmeal(Integer id);

    List<Map<String, Object>> getSetmealReport();

}

